# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1153.67.13 -> 1.1153.67.14
#	arch/ia64/kernel/smpboot.c	1.38    -> 1.39   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/29	davej@redhat.com	1.1153.1.129
# [AGPGART] Use generic AGP_APBASE define instead of per vendor _APBASE.
#  
# --------------------------------------------
# 03/08/29	davej@redhat.com	1.1153.1.130
# [AGPGART] move NVIDIA registers to agp.h
# --------------------------------------------
# 03/08/28	matthewc@cse.unsw.edu.au	1.1153.67.14
# [PATCH] ia64: Fix "nosmp" breakage from cpumask patch.
# 
# Patch should be self-explanatory.
# --------------------------------------------
#
diff -Nru a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c
--- a/arch/ia64/kernel/smpboot.c	Tue Sep  9 01:05:39 2003
+++ b/arch/ia64/kernel/smpboot.c	Tue Sep  9 01:05:39 2003
@@ -534,8 +534,8 @@
 		printk(KERN_INFO "SMP mode deactivated.\n");
 		cpus_clear(cpu_online_map);
 		cpus_clear(phys_cpu_present_map);
-		cpu_set(1, cpu_online_map);
-		cpu_set(1, phys_cpu_present_map);
+		cpu_set(0, cpu_online_map);
+		cpu_set(0, phys_cpu_present_map);
 		return;
 	}
 }